<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>工单创建</title>
</head>
<body>
	<div th:fragment="main" id="addWorkOrder">
		<link rel="stylesheet" th:href="@{/css/projectGroup/addWorkOrder.css}">
		<div class="content-title">
	        <p><a href="#qualitycontrol-projectGroup-device">设备管理</a>&nbsp;>&nbsp;<span>工单创建</span></p>
	    </div>
	     <div class="content-bar">
			<form class="form-box clearfix" autocomplete="off">
				<div class="form-group">
					<div class="group-head">
						<p>选择设备列表</p>
					</div>
					<div class="group-body deviceIdBox"></div>
				</div>
				<div class="form-group">
					<div class="group-head">
						<p>设备信息</p>
					</div>
					<div class="group-body">
						<div class="group-list">
							<p id="">产品线:&nbsp;<span id="productLineId"></span></p>
						</div>
						<div class="group-list">
							<p>项&nbsp;&nbsp;&nbsp;目: &nbsp;<span id="projectName"></span></p>
						</div>
						<div class="group-list">
							<p>设备类型:&nbsp;<span id="deviceTypeId"></span></p>
						</div>
					</div>
				</div>
				<div class="subTask_box">
					<div class="form-group subTask">
						<div class="group-head">
							<p>子任务</p>
							<i class="glyphicon glyphicon-remove-sign delList"></i>
						</div>
						<div class="group-body">
							<div class="group-list">
								<label for="workOrderType" class="form-label">工单类型:</label>
								<select id="" name="workOrderType" class="form-input workOrderType" data-new="workOrderType"><option value="">获取中…</option></select>
							</div>
							<div class="group-list">
								<label for="organizationId" class="form-label">施工单位:</label>
								<!-- <select id="organizationId" name="organizationId" class="form-input" data-new="organizationId"></select> -->
								<div class="tree-postion">
									<input type="text" id="" name="organizationId" class="form-input organizationId" readonly placeholder="请选择">
									<div id="menu-content" class="menu-content">
				                    	<ul id="ztreeBox" class="ztree treeDemo" data-new="tree"></ul>
				                    </div>
			                    </div>
							</div>
							<div class="group-list">
								<label class="form-label">是否审核:</label>
								<input type="checkbox" id="check" name="check" class="" placeholder="是否需要审核任务" checked>
							</div>
							<div class="group-list">
								<label for="description" class="form-label">备注信息:</label>
								<input type="text" id="" name="description" class="form-input description" placeholder>
							</div>
						</div>
					</div>
				</div>
				<div class="btn-box">
					<a id="addSubTask" class="btn btn-orange btn-bg addSubTask" role="button">添加子任务</a>
					<div class="ac">
						<a id="save" class="btn btn-cyan btn-bg" role="button">保存</a>
			            <a class="btn btn-cyan btn-bg" href="#qualitycontrol-projectGroup-device" role="button">返回</a>
					</div>
				</div>
			</form>
	     </div>
	     <script th:src="@{/js/projectGroup/addWorkOrder.js}"></script>
	</div>
</body>
</html>